<?php

error_reporting(7);

$template_name = "detail.html";
require "common.php";
require "tools/class.weixin.php";
$wx_id=$_GET['id'];
$weixin=new WEIXIN($DB);
$detail=$weixin->detail($wx_id);
$iguess=$weixin->iguesslike($detail["keyword"]);
if(empty($detail)){
    die("该关注已经下架");
}
$follow=$weixin->follow_top();
$tpl->assign($detail[0]);
$tpl->assign("guesslist",$iguess);
$tpl->assign("followlist",$follow);
$tpl->output();
?>